From 8f34ae4433368b23ce47444766c456bfc8eb7cb6 Mon Sep 17 00:00:00 2001 From: Trevor Parscal Date: Wed, 8 Dec 2010 19:13:32 +0000 Subject: [PATCH] Converted tabs introduced in 77910 to spaces - not because I like them that way, but because it's an external library and we are keeping it consistent. --- resources/jquery.tipsy/jquery.tipsy.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/resources/jquery.tipsy/jquery.tipsy.js b/resources/jquery.tipsy/jquery.tipsy.js index 847a527bec..7c80873434 100644 --- a/resources/jquery.tipsy/jquery.tipsy.js +++ b/resources/jquery.tipsy/jquery.tipsy.js @@ -56,17 +56,17 @@ if (gravity.length == 2) { if (gravity.charAt(1) == 'w') { - if ( this.options.center ) { - tp.left = pos.left + pos.width / 2 - 15; - } else { + if (this.options.center) { + tp.left = pos.left + pos.width / 2 - 15; + } else { tp.left = pos.left; - } + } } else { - if ( this.options.center ) { - tp.left = pos.left + pos.width / 2 - actualWidth + 15; - } else { - tp.left = pos.left + pos.width; - } + if (this.options.center) { + tp.left = pos.left + pos.width / 2 - actualWidth + 15; + } else { + tp.left = pos.left + pos.width; + } } } -- 2.20.1